package org.zachary.commonservice.entity;

import java.io.Serial;
import java.time.Instant;
import java.util.Date;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Insert;

/**
 * (OverdueRecord)实体类
 *
 * @author makejava
 * @since 2025-07-03 23:06:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OverdueRecord implements Serializable {
    @Serial
    private static final long serialVersionUID = -93115201433987767L;
/**
     * 逾期监控主键
     */
    private String uuid;
/**
     * 用户ID
     */
    private Integer userId;
/**
     * 服务类型（参考枚举ServiceType）
     */
    private Integer serviceType;
/**
     * 是否逾期
     */
    private boolean isOverdue;
/**
     * 第几个逾期期（无用字段）
     */
    private Integer overduePeriod;
/**
     * 是否为付费服务
     */
    private boolean isPaid;
/**
     * 金额
     */
    private Double amount;
/**
     * 描述
     */
    private String desc;
/**
     * 截止日期
     */
    private Instant dueTime;
/**
     * 完成时间
     */
    private Instant finishTime;

}

